#!/usr/bin/env python2
# coding=utf-8
import sqlmapapi
class apiStart(object):
              
    def main(self,args_str):
        try:
            sqlmapapi.main(args_str)
        except KeyboardInterrupt, e:
            print '\nBreak out.'
            sys.exit()

if __name__ == '__main__':
    args_str = ["-s","-p","8875"]
    apistart = apiStart()
    apistart.main(args_str)
